package com.example.sunran.controller;

import com.example.sunran.domain.PhoneInfo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @program: FreeVip
 * @description:
 * @author: SunRan
 * @create: 2018-10-30 15:40
 **/
@Controller
public class PageController {

    @GetMapping("/hello")
    String index() {
        return "index";
    }

    @GetMapping("/main")
    String main() {
        return "page/main";
    }

    @GetMapping("/vip")
    String vip() {
        return "page/vip";
    }
    @GetMapping("/phone")
    String phone() {
        return "page/phone";
    }
    @GetMapping("/contact")
    String contact() {
        return "page/contact";
    }

    @GetMapping("/love")
    String love() {
        return "page/love";
    }
    @GetMapping("/love_in")
    String loveIn() {
        return "page/love_in";
    }

}
